package com.four.hospital.dao;

import com.four.hospital.entity.Appointment;
import org.apache.ibatis.annotations.Param;

/**
 * @Author:wsy
 * @Date: 2022/01/17/19:02
 * @Description
 */
public interface AppointmentDao {
    /**
     * 查询此一生是否预约满
     * @param docId
     * @return
     */
    int findCout(@Param("docId") Integer docId);

    /**
     * 预约
     * @param appointment
     */
    void addAppointment(@Param("app") Appointment appointment);
}
